﻿using AutoMapper;
using AutoMapper.Configuration;
using BTBookList.BookListManagement.Books.Dtos;
using System;
using System.Collections.Generic;
using System.Text;

namespace BTBookList.BookListManagement.Books.Mapper
{
  internal  class BookMapper
    {
        public static void CreateMappings(IMapperConfigurationExpression  configuration)
        {
            configuration.CreateMap<Book, BookListDto>();
            configuration.CreateMap<BookEditDto, Book>();
            configuration.CreateMap<Book, BookEditDto>();


        }

    }
}
